﻿package com.toncen.samepms.net.domain;

import java.util.Date;
import com.sky.dataimport.*;
import com.sky.dataimport.datatype.*;
import com.sky.dataimport.formater.*;
import com.toncen.samepms.basic.domain.User;
import com.toncen.samepms.common.AbstractDomain;
 
/**
 * 描述：意见反馈表NET_SUGGESTION的domain文件
 * 
 * @author tch 
 */
@DynamicRowDataRow(title = "动态行意见反馈", sheetIndex = 1, startRowIndex = 2, startCellIndex = 1, inserted = false)
@DynamicCellDataRow(title = "动态列意见反馈", sheetIndex = 1, startRowIndex = 2, startCellIndex = 2, inserted = false)
@StaticDataRow(title = "静态行列意见反馈", sheetIndex = 1)
public class Suggestion extends AbstractDomain {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1370398878051L;
	
	/**
	 * 姓名
	 */ 
	@StaticDataCell(rowIndex = 1, cellIndex = 1, title = "姓名")
	@DynamicRowDataCell(cellIndex = 1,  title = "姓名", require = false)
	@DynamicCellDataCell(rowIndex = 1,  title = "姓名", require = false)
	@StringDataType(max = 50 )
	private  String name; 	 
    
	/**
	 * 联系电话
	 */ 
	@StaticDataCell(rowIndex = 2, cellIndex = 2, title = "联系电话")
	@DynamicRowDataCell(cellIndex = 2,  title = "联系电话", require = false)
	@DynamicCellDataCell(rowIndex = 2,  title = "联系电话", require = false)
	@StringDataType(max = 50 )
	private  String telphone; 	 
    
	/**
	 * 电子邮箱
	 */ 
	@StaticDataCell(rowIndex = 3, cellIndex = 3, title = "电子邮箱")
	@DynamicRowDataCell(cellIndex = 3,  title = "电子邮箱", require = false)
	@DynamicCellDataCell(rowIndex = 3,  title = "电子邮箱", require = false)
	@StringDataType(max = 50 )
	private  String email; 	 
    
	/**
	 * 地址
	 */ 
	@StaticDataCell(rowIndex = 4, cellIndex = 4, title = "地址")
	@DynamicRowDataCell(cellIndex = 4,  title = "地址", require = false)
	@DynamicCellDataCell(rowIndex = 4,  title = "地址", require = false)
	@StringDataType(max = 200 )
	private  String address; 	 
    
	/**
	 * 邮政编码
	 */ 
	@StaticDataCell(rowIndex = 5, cellIndex = 5, title = "邮政编码")
	@DynamicRowDataCell(cellIndex = 5,  title = "邮政编码", require = false)
	@DynamicCellDataCell(rowIndex = 5,  title = "邮政编码", require = false)
	@StringDataType(max = 50 )
	private  String postcode; 	 
    
	/**
	 * 主题
	 */ 
	@StaticDataCell(rowIndex = 6, cellIndex = 6, title = "主题")
	@DynamicRowDataCell(cellIndex = 6,  title = "主题", require = false)
	@DynamicCellDataCell(rowIndex = 6,  title = "主题", require = false)
	@StringDataType(max = 200 )
	private  String title; 	 
    
	/**
	 * 内容
	 */ 
	@StaticDataCell(rowIndex = 7, cellIndex = 7, title = "内容")
	@DynamicRowDataCell(cellIndex = 7,  title = "内容", require = false)
	@DynamicCellDataCell(rowIndex = 7,  title = "内容", require = false)
	@StringDataType(max = 2000 )
	private  String contents; 	 
    
	/**
	 * 顺序
	 */ 
	@StaticDataCell(rowIndex = 9, cellIndex = 9, title = "顺序")
	@DynamicRowDataCell(cellIndex = 9,  title = "顺序", require = false)
	@DynamicCellDataCell(rowIndex = 9,  title = "顺序", require = false)
	@IntegerDataType(msg = "必须为整数类型")
	private  int sequence; 	 
    
	/**
	 * 填写时间
	 */ 
	@StaticDataCell(rowIndex = 10, cellIndex = 10, title = "填写时间")
	@DynamicRowDataCell(cellIndex = 10, title = "填写时间", formater = UtilDateDataFormater.class, option = "yyyy-MM-dd", require = false)
	@DynamicCellDataCell(rowIndex = 10, title = "填写时间", formater = UtilDateDataFormater.class, option = "yyyy-MM-dd", require = false)
	@DateDataType
	private  Date createdate; 	 
    
	/**
	 * 回复人
	 */ 
	@StaticDataCell(rowIndex = 11, cellIndex = 11, title = "回复人")
	@DynamicRowDataCell(cellIndex = 11,  title = "回复人", require = false)
	@DynamicCellDataCell(rowIndex = 11,  title = "回复人", require = false)
	@IntegerDataType(msg = "必须为整数类型")
	private  User replayer; 	 
    
	/**
	 * 回复时间
	 */ 
	@StaticDataCell(rowIndex = 12, cellIndex = 12, title = "回复时间")
	@DynamicRowDataCell(cellIndex = 12, title = "回复时间", formater = UtilDateDataFormater.class, option = "yyyy-MM-dd", require = false)
	@DynamicCellDataCell(rowIndex = 12, title = "回复时间", formater = UtilDateDataFormater.class, option = "yyyy-MM-dd", require = false)
	@DateDataType
	private  Date replaydate; 	 
    
	/**
	 * 回复意见
	 */ 
	@StaticDataCell(rowIndex = 13, cellIndex = 13, title = "回复意见")
	@DynamicRowDataCell(cellIndex = 13,  title = "回复意见", require = false)
	@DynamicCellDataCell(rowIndex = 13,  title = "回复意见", require = false)
	@StringDataType(max = 2000 )
	private  String replay; 	 
    

	public Suggestion() {
		super();
	}

	/**
	 * @return the  name
	 */
	public  String getName() {
		return  name;
	}

	/**
	 * @param  name
	 *            the  name to set
	 */
	public void setName( String  name) {
		this. name =  name;
	}
	
	/**
	 * @return the  telphone
	 */
	public  String getTelphone() {
		return  telphone;
	}

	/**
	 * @param  telphone
	 *            the  telphone to set
	 */
	public void setTelphone( String  telphone) {
		this. telphone =  telphone;
	}
	
	/**
	 * @return the  email
	 */
	public  String getEmail() {
		return  email;
	}

	/**
	 * @param  email
	 *            the  email to set
	 */
	public void setEmail( String  email) {
		this. email =  email;
	}
	
	/**
	 * @return the  address
	 */
	public  String getAddress() {
		return  address;
	}

	/**
	 * @param  address
	 *            the  address to set
	 */
	public void setAddress( String  address) {
		this. address =  address;
	}
	
	/**
	 * @return the  postcode
	 */
	public  String getPostcode() {
		return  postcode;
	}

	/**
	 * @param  postcode
	 *            the  postcode to set
	 */
	public void setPostcode( String  postcode) {
		this. postcode =  postcode;
	}
	
	/**
	 * @return the  title
	 */
	public  String getTitle() {
		return  title;
	}

	/**
	 * @param  title
	 *            the  title to set
	 */
	public void setTitle( String  title) {
		this. title =  title;
	}
	
	/**
	 * @return the  contents
	 */
	public  String getContents() {
		return  contents;
	}

	/**
	 * @param  contents
	 *            the  contents to set
	 */
	public void setContents( String  contents) {
		this. contents =  contents;
	}
	
	/**
	 * @return the  sequence
	 */
	public  int getSequence() {
		return  sequence;
	}

	/**
	 * @param  sequence
	 *            the  sequence to set
	 */
	public void setSequence( int  sequence) {
		this. sequence =  sequence;
	}
	
	/**
	 * @return the  createdate
	 */
	public  Date getCreatedate() {
		return  createdate;
	}

	/**
	 * @param  createdate
	 *            the  createdate to set
	 */
	public void setCreatedate( Date  createdate) {
		this. createdate =  createdate;
	}
	
	/**
	 * @return the  replayer
	 */
	public  User getReplayer() {
		return  replayer;
	}

	/**
	 * @param  replayer
	 *            the  replayer to set
	 */
	public void setReplayer( User  replayer) {
		this. replayer =  replayer;
	}
	
	/**
	 * @return the  replaydate
	 */
	public  Date getReplaydate() {
		return  replaydate;
	}

	/**
	 * @param  replaydate
	 *            the  replaydate to set
	 */
	public void setReplaydate( Date  replaydate) {
		this. replaydate =  replaydate;
	}
	
	/**
	 * @return the  replay
	 */
	public  String getReplay() {
		return  replay;
	}

	/**
	 * @param  replay
	 *            the  replay to set
	 */
	public void setReplay( String  replay) {
		this. replay =  replay;
	}
	
}
